package com.itany.netclass.service;

import com.itany.netclass.entity.Comment;
import com.itany.netclass.exception.NoQuanXianException;
import com.itany.netclass.exception.NullSringException;
import com.itany.netclass.exception.ServiceException;

import java.util.List;

/**
 * Author:sjy@itany.com
 * Date:2021/10/18 21:51
 * Version:1.0-SNAPSHOT
 */
public interface CommentService {
    public List<Comment> findCommentByChapterId(String chapterId) throws ServiceException, NullSringException;

    public List<Comment> searchCommentByForm(String chapterId, String context, String nickname, String kaishitime, String jieshutime, String status) throws NullSringException, ServiceException;

    public void yongCommentByComment(String commentId, String status) throws NoQuanXianException, ServiceException;

    public List<Comment> findManageComment() throws NullSringException, ServiceException;

    public List<Comment> searchManageByForm(String commentUserName, String context, String kaishitime, String jieshutime) throws NullSringException, ServiceException;

    public  void yongManageByCommentId(String commentId, String status) throws ServiceException;
}
